about summary refs log tree commit diff
path: root/tests/ui/coherence/impl[t]-foreign[foreign[t]_local]-for-foreign.rs
blob: f1b9a08b44a7b0a9eb64dd1e0190702677fdb616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//@ check-pass
//@ compile-flags:--crate-name=test
//@ aux-build:coherence_lib.rs

extern crate coherence_lib as lib;
use lib::*;
use std::rc::Rc;

struct Local;
impl<T> Remote2<Rc<T>, Local> for usize { }

fn main() {}